package com.xqpaymall;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @ Author     ：marui
 * @ Date       ：Created in 15:44 2019/10/14
 */
@EnableDiscoveryClient
@SpringBootApplication
public class XqpaymallServiceApplication {
    public static void main(String[] args) {
        // TODO 不懂这种写法
        new SpringApplicationBuilder(XqpaymallServiceApplication.class).web(true).run(args);
        //SpringApplication.run(XqpaymallServiceApplication.class,args);
    }
}
